Import('RTT_ROOT')
Import('rtconfig')
from building import *

src	= Glob('*.c')
CPPPATH = [GetCurrentDir()]
if rtconfig.CROSS_TOOL == 'keil':
    LINKFLAGS = ' --keep __fsym_* --keep __vsym_* '
else:
    LINKFLAGS = '' 

group = DefineGroup('finsh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS, LIBRARY = '')

Return('group')
